package com.gu.domain.service;

import com.gu.domain.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gu.domain.entity.ResponseResult;
import com.gu.domain.vo.CategoryVo;
import com.gu.domain.vo.PageVo;

import java.util.List;

/**
* @author 34389
* @description 针对表【sg_category(分类表)】的数据库操作Service
* @createDate 2025-10-18 21:03:38
*/
public interface CategoryService extends IService<Category> {

    //查询文章分类的接口
    ResponseResult getCategoryList();

    //写博客-查询文章分类的接口
    List<CategoryVo> listAllCategory();

    //分页查询分类列表
    PageVo selectCategoryPage(Category category, Integer pageNum, Integer pageSize);
}
